<template>
  <div>
    child count {{count3}}
  </div>
</template>

<script>
import { mapState, mapGetters } from 'vuex'
export default {
  data() {
    return {
      num: 20000
    }
  },
  
  computed: {
    count() {
      return this.$store.state.count
    },
    ...mapState({
      
    }),
    ...mapGetters(['count3'])
    // count3() {
    //   return this.$store.getters.count3
    // }
  }
}
</script>

<style lang='stylus' scoped>

</style>